package com.lyf.lottery.constant;

import lombok.Getter;
import org.springframework.context.annotation.Primary;

/**
 * @author yunfei.li
 * @date 2022/4/26 17:19
 */
public interface Const {
    int CONST_0 = 0;
    int CONST_10 = 10;

    @Getter
    enum ActivityStatusEnum {
        PUT_ON(1,"已上架"),
        PUT_DOWN(0,"已下架"),
        NOT_PUT_ON(-1,"未上架"),
        ;
        private Integer code;
        private String name;

        ActivityStatusEnum(Integer code, String name) {
            this.code = code;
            this.name = name;
        }
    }
}
